# Contributor: Maarten van Gompel <proycon@anaproy.nl>
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=wvkbd
pkgver=0.14.3
pkgrel=0
pkgdesc="On-screen keyboard for wlroots that sucks less"
url="https://git.sr.ht/~proycon/wvkbd"
arch="all"
license="GPL-3.0-or-later"
subpackages="$pkgname-doc"
options="!check" # has no tests
makedepends="fontconfig wayland-dev libxkbcommon-dev pango-dev"
source="$pkgname-v$pkgver.tar.gz::https://git.sr.ht/~proycon/wvkbd/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make -C "$builddir" all
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install
}

sha512sums="
0da5d032ad0f70e5a211b9d91127cbea80acaa38c02b51d95a3be586a058a3622f9afd9cda8f742b46e5c60b15d08622bf6a31a27ebc6b42811d016f7f379c6d  wvkbd-v0.14.3.tar.gz
"
